extends layout

block content
  div( class="container main" ng-controller="statCtrl" )
    div( class="row" )
        div( class="span10 offset1" style="text-align: center" )
            h2( System details updated using server-sent events )
    div( class="row" )
        div( class="span8 offset2" )
            table( class="table table-striped" )
                thead
                    tr
                        th Property
                        th Value
                tbody
                    tr
                        td Hostname
                        td {{msg.hostname}}
                    tr
                        td Type:
                        td {{msg.type}}
                    tr
                        td Platform:
                        td {{msg.platform}}
                    tr
                        td Arch:
                        td {{msg.arch}}
                    tr
                        td Release:
                        td {{msg.arch}}
                    tr
                        td Uptime:
                        td {{msg.arch}}
                    tr
                        td Load avg.:
                        td {{msg.loadaverage}}
                    tr
                        td Total mem:
                        td {{msg.totalmem}}
                    tr
                        td Free mem:
                        td {{msg.freemem}}
                    tr
                        td Time:
                        td {{msg.time}}

  script( src="javascripts/app/index.js" )
